#pragma once

class ZLog
{
public:
	ZLog(const CString& sFileName);

public:
	bool WriteLog(CString LogText);

private:
	CString GetFileName();
	CString GetFilePath();

public:
	static ZLog& instance();

private:
	CString m_sFileName;
};

#define g_writeLog ZLog::instance().WriteLog 